Skip to content

Commit

Permalink
BVTCK-198 Fix incorrect test BootstrapConfigurationWithValidatedExecu…
Browse files Browse the repository at this point in the history
…tableTypesContainingNONETest
  • Loading branch information
gsmet authored and gunnarmorling committed Mar 26, 2018
1 parent bc32ee0 commit 9fde64a
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -42,12 +42,14 @@ public static WebArchive createTestArchive() {
@Test
@SpecAssertion(section = Sections.VALIDATIONAPI_BOOTSTRAPPING_CONFIGURATION, id = "f")
@SpecAssertion(section = Sections.VALIDATIONAPI_BOOTSTRAPPING_XMLCONFIGURATION, id = "q")
@SpecAssertion(section = Sections.INTEGRATION_GENERAL_EXECUTABLE, id = "i")
public void testGetDefaultValidatedExecutableTypesReturnsEmptySetIfNONEIsContained() {
BootstrapConfiguration bootstrapConfiguration = TestUtil.getConfigurationUnderTest()
.getBootstrapConfiguration();

assertNotNull( bootstrapConfiguration );

assertEquals( bootstrapConfiguration.getDefaultValidatedExecutableTypes(), EnumSet.noneOf( ExecutableType.class ) );
assertEquals( bootstrapConfiguration.getDefaultValidatedExecutableTypes(),
EnumSet.of( ExecutableType.CONSTRUCTORS, ExecutableType.GETTER_METHODS, ExecutableType.NON_GETTER_METHODS ) );
}
}

0 comments on commit 9fde64a

Please sign in to comment.