Package org.qi4j.runtime.property.PropertyEqualityTest

Examples of org.qi4j.runtime.property.PropertyEqualityTest.Some


    }

    @Test
    public void givenValuesOfDifferentTypesAndDifferentStateWhenTestingValueEqualityExpectNotEquals()
    {
        Some some = buildSomeValue( module );
        Some anotherSome = buildAnotherSomeValueWithDifferentState( module );
        assertThat( "Values not equal",
                    some,
                    not( equalTo( anotherSome ) ) );
        assertThat( "Values hashcode not equal",
                    some.hashCode(),
                    not( equalTo( anotherSome.hashCode() ) ) );
    }
View Full Code Here

TOP

Related Classes of org.qi4j.runtime.property.PropertyEqualityTest.Some

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.