BAEL-7032: updated with review comment on test
This commit is contained in:
parent
96de260e1d
commit
131d675771
|
@ -76,7 +76,7 @@ class LicenseMapperUnitTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
void givenLicenseDtoWithoutLicenseTypeString_WhenMapperMethodIsInvoked_ThenLicenseShouldBePopulatedWithoutLicenseType() {
|
||||
void givenLicenseDtoWithoutLicenseTypeString_whenMapperMethodIsInvoked_thenLicenseShouldBePopulatedWithoutLicenseType() {
|
||||
LicenseDto licenseDto = new LicenseDto();
|
||||
License license = licenseMapper.toLicense(licenseDto);
|
||||
assertThat(license).isNotNull();
|
||||
|
@ -84,7 +84,7 @@ class LicenseMapperUnitTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
void givenLicenseDtoWithInvalidLicenseTypeString_WhenMapperMethodIsInvoked_ThenLicenseShouldBePopulatedWithoutLicenseType() {
|
||||
void givenLicenseDtoWithInvalidLicenseTypeString_whenMapperMethodIsInvoked_thenLicenseShouldBePopulatedWithoutLicenseType() {
|
||||
LicenseDto licenseDto = new LicenseDto();
|
||||
licenseDto.setLicenseType("invalid_license_type");
|
||||
License license = licenseMapper.toLicense(licenseDto);
|
||||
|
@ -93,7 +93,7 @@ class LicenseMapperUnitTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
void givenLicenseDtoWithValidLicenseTypeString_WhenMapperMethodIsInvoked_ThenLicenseShouldBePopulatedWithMatchingLicenseType() {
|
||||
void givenLicenseDtoWithValidLicenseTypeString_whenMapperMethodIsInvoked_thenLicenseShouldBePopulatedWithMatchingLicenseType() {
|
||||
LicenseDto licenseDto = new LicenseDto();
|
||||
licenseDto.setLicenseType("INDIVIDUAL");
|
||||
License license = licenseMapper.toLicense(licenseDto);
|
||||
|
|
Loading…
Reference in New Issue