Skip to content

Commit

Permalink
NO-JIRA: Clean up typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Havret committed Sep 18, 2024
1 parent 9e5b9fd commit e722f4e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public void testGetJmsAmqpReplyToGroupIdWhenSet() throws JMSException {
}

@Test
public void testJmsJmsAmqpReplyToGroupIdNotInPropertyNamesWhenNotSet() throws JMSException {
public void testJmsAmqpReplyToGroupIdNotInPropertyNamesWhenNotSet() throws JMSException {
AmqpJmsMessageFacade message = createAmqpMessageFacade();
assertNull(AmqpJmsMessagePropertyIntercepter.getProperty(message, JMS_AMQP_REPLY_TO_GROUP_ID));
assertFalse(AmqpJmsMessagePropertyIntercepter.getPropertyNames(message).contains(JMS_AMQP_REPLY_TO_GROUP_ID));
Expand Down Expand Up @@ -275,21 +275,21 @@ public void testJmsAmqpTypedEncodingInPropertyNamesWhenSet() throws JMSException
}

@Test
public void testJmsAmqpTypedEncodingPropertExistsWhenSet() throws JMSException {
public void testJmsAmqpTypedEncodingPropertyExistsWhenSet() throws JMSException {
AmqpJmsObjectMessageFacade message = createAmqpObjectMessageFacade();
Mockito.when(message.isAmqpTypedEncoding()).thenReturn(true);
assertTrue(AmqpJmsMessagePropertyIntercepter.propertyExists(message, JMS_AMQP_TYPED_ENCODING));
}

@Test
public void testJmsAmqpTypedEncodingdPropertExistsWhenNotSet() throws JMSException {
public void testJmsAmqpTypedEncodingPropertyExistsWhenNotSet() throws JMSException {
AmqpJmsObjectMessageFacade message = createAmqpObjectMessageFacade();
Mockito.when(message.isAmqpTypedEncoding()).thenReturn(false);
assertFalse(AmqpJmsMessagePropertyIntercepter.propertyExists(message, JMS_AMQP_TYPED_ENCODING));
}

@Test
public void testJmsAmqpTypedEncodingdPropertExistsWhenNotAnObjectMessage() throws JMSException {
public void testJmsAmqpTypedEncodingPropertyExistsWhenNotAnObjectMessage() throws JMSException {
AmqpJmsMessageFacade message = createAmqpMessageFacade();
assertFalse(AmqpJmsMessagePropertyIntercepter.propertyExists(message, JMS_AMQP_TYPED_ENCODING));
}
Expand Down

0 comments on commit e722f4e

Please sign in to comment.