Package de.danielbechler.diff.mock

Examples of de.danielbechler.diff.mock.ObjectDiffTest


  @Test
  public void getPropertyAnnotation_should_return_null_if_accessor_is_not_property_accessor()
  {
    final Accessor propertyAccessor = Mockito.mock(Accessor.class);

    final ObjectDiffTest annotation = new DiffNode(propertyAccessor, Object.class).getPropertyAnnotation(ObjectDiffTest.class);

    assertThat(annotation).isNull();
  }
View Full Code Here

TOP

Related Classes of de.danielbechler.diff.mock.ObjectDiffTest

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.