Skip to content

Commit cfdaf7c

Browse files
committed
pr feedback
1 parent e002db1 commit cfdaf7c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

jrcc-access-spring-boot-autoconfigure/src/test/java/ca/bc/gov/open/jrccaccess/autoconfigure/AccessAutoConfigurationTests.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,39 +10,39 @@
1010

1111

1212
public class AccessAutoConfigurationTests {
13-
private AccessAutoConfiguration aac;
13+
private AccessAutoConfiguration sut;
1414

1515
@Test
1616
public void constructor_with_valid_property_should_create_object() throws Exception{
1717
AccessProperties properties = new AccessProperties();
1818
properties.setInput(new AccessProperties.PluginConfig());
1919
properties.setOutput(new AccessProperties.PluginConfig());
20-
aac = new AccessAutoConfiguration(properties);
21-
assertNotNull(aac );
20+
sut = new AccessAutoConfiguration(properties);
21+
assertNotNull(sut );
2222
}
2323

2424
@Test(expected = InputConfigMissingException.class)
2525
public void constructor_with_null_input_property_should_throw_InputConfigMissingException() throws InvalidConfigException{
2626
AccessProperties properties = new AccessProperties();
2727
properties.setOutput(new AccessProperties.PluginConfig());
2828
properties.setInput(null);
29-
aac = new AccessAutoConfiguration(properties);
29+
sut = new AccessAutoConfiguration(properties);
3030
}
3131

3232
@Test(expected = OutputConfigMissingException.class)
3333
public void constructor_with_null_output_property_should_throw_OutputConfigMissingException() throws InvalidConfigException{
3434
AccessProperties properties = new AccessProperties();
3535
properties.setInput(new AccessProperties.PluginConfig());
3636
properties.setOutput(null);
37-
aac = new AccessAutoConfiguration(properties);
37+
sut = new AccessAutoConfiguration(properties);
3838
}
3939

4040
@Test
4141
public void input_config_returns_valid_input_plugin_config() throws InvalidConfigException {
4242
AccessProperties properties = new AccessProperties();
4343
properties.setInput(new AccessProperties.PluginConfig());
4444
properties.setOutput(new AccessProperties.PluginConfig());
45-
aac = new AccessAutoConfiguration(properties);
46-
assertEquals(aac.inputConfig(), properties.getInput());
45+
sut = new AccessAutoConfiguration(properties);
46+
assertEquals(sut.inputConfig(), properties.getInput());
4747
}
4848
}

0 commit comments

Comments
 (0)