@Test public void testIsEqualTo_withAttributeValueExpression_shouldFailed() { thrown.expectAssertionError("expected:<\"[something]\"> but was:<\"[abc]\">"); String xml = "<a><b attr=\"abc\"></b></a>"; assertThat(xml).valueByXPath(" }
public ValueAssert isEqualTo(int expected) { asInt().isEqualTo(expected); return this; }
ValueAssert extends AbstractCharSequenceAssert<ValueAssert, String> { public ValueAssert isEqualTo(int expected) { asInt().isEqualTo(expected); return this; } }
ValueAssert extends AbstractCharSequenceAssert<ValueAssert, String> { public ValueAssert isEqualTo(int expected) { asInt().isEqualTo(expected); return this; } private  ValueAssert(String value); }
ValueAssert extends AbstractCharSequenceAssert<ValueAssert, String> { public ValueAssert isEqualTo(int expected) { asInt().isEqualTo(expected); return this; } private  ValueAssert(String value); AbstractIntegerAssert<?> asInt(); AbstractDoubleAssert<?> asDouble(); AbstractBooleanAssert<?> asBoolean(); XmlAssert asXml(); XmlAssert asXml(String wrapNodeName); ValueAssert isEqualTo(int expected); ValueAssert isEqualTo(double expected); ValueAssert isEqualTo(boolean expected); @Override @CheckReturnValue // deal with binary incompatible change in AssertJ 3.15.0, see https://github.com/xmlunit/xmlunit/issues/181 ValueAssert describedAs(final String description, final Object... args); }
ValueAssert extends AbstractCharSequenceAssert<ValueAssert, String> { public ValueAssert isEqualTo(int expected) { asInt().isEqualTo(expected); return this; } private  ValueAssert(String value); AbstractIntegerAssert<?> asInt(); AbstractDoubleAssert<?> asDouble(); AbstractBooleanAssert<?> asBoolean(); XmlAssert asXml(); XmlAssert asXml(String wrapNodeName); ValueAssert isEqualTo(int expected); ValueAssert isEqualTo(double expected); ValueAssert isEqualTo(boolean expected); @Override @CheckReturnValue // deal with binary incompatible change in AssertJ 3.15.0, see https://github.com/xmlunit/xmlunit/issues/181 ValueAssert describedAs(final String description, final Object... args);  }