Java Code Examples for nl.jqno.equalsverifier.EqualsVerifier#forClass()

The following examples show how to use nl.jqno.equalsverifier.EqualsVerifier#forClass() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FlagsUpdateStageResultTest.java    From james-project with Apache License 2.0 4 votes vote down vote up
@Test
void classShouldRespectBeanContract() {
    EqualsVerifier.forClass(FlagsUpdateStageResult.class);
}
 
Example 2
Source File: EventBusIdTest.java    From james-project with Apache License 2.0 4 votes vote down vote up
@Test
void eventBusIdShouldMatchBeanContract() {
    EqualsVerifier.forClass(EventBusId.class);
}
 
Example 3
Source File: SwiftTempAuthObjectStorageConfigurationTest.java    From james-project with Apache License 2.0 4 votes vote down vote up
@Test
void configurationShouldEnforceBeanContract() {
    EqualsVerifier.forClass(SwiftTempAuthObjectStorage.Configuration.class);
}
 
Example 4
Source File: SwiftKeystone3ObjectStorageConfigurationTest.java    From james-project with Apache License 2.0 4 votes vote down vote up
@Test
void configurationShouldEnforceBeanContract() {
    EqualsVerifier.forClass(SwiftKeystone3ObjectStorage.Configuration.class);
}
 
Example 5
Source File: SwiftKeystone2ObjectStorageConfigurationTest.java    From james-project with Apache License 2.0 4 votes vote down vote up
@Test
void configurationShouldEnforceBeanContract() {
    EqualsVerifier.forClass(SwiftKeystone2ObjectStorage.Configuration.class);
}