Package de.danielbechler.diff.mock

Examples of de.danielbechler.diff.mock.ObjectWithIgnoredMap


    objectDiffer = ObjectDifferBuilder.buildDefault();
  }

  public void testCompareBeanWithIgnoredMapProperty()
  {
    final ObjectWithIgnoredMap working = new ObjectWithIgnoredMap();
    working.getMap().put("foo", "bar");

    final DiffNode node = objectDiffer.compare(working, new ObjectWithIgnoredMap());

    NodeAssertions.assertThat(node).self().hasState(DiffNode.State.UNTOUCHED);
    NodeAssertions.assertThat(node).self().hasNoChildren();
  }
View Full Code Here

TOP

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

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.