removed spacing and removed unit test assertion on exception message
This commit is contained in:
parent
e11cc9a398
commit
c5d16d2c96
1 changed files with 8 additions and 9 deletions
|
|
@ -309,7 +309,6 @@ public class KinesisClientLibConfiguratorTest {
|
|||
@Test
|
||||
public void testWithMissingStreamNameAndMissingStreamArn() {
|
||||
thrown.expect(NullPointerException.class);
|
||||
thrown.expectMessage("Stream name or Stream Arn is required. Stream Arn takes precedence if both are passed in.");
|
||||
|
||||
String test = StringUtils.join(new String[] {
|
||||
"applicationName = b",
|
||||
|
|
@ -321,10 +320,10 @@ public class KinesisClientLibConfiguratorTest {
|
|||
|
||||
configurator.getConfiguration(input);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testWithEmptyStreamNameAndMissingStreamArn() {
|
||||
thrown.expect(IllegalArgumentException.class);
|
||||
thrown.expectMessage("Stream name or Stream Arn is required. Stream Arn takes precedence if both are passed in.");
|
||||
|
||||
String test = StringUtils.join(new String[] {
|
||||
"applicationName = b",
|
||||
|
|
|
|||
Loading…
Reference in a new issue