@Test public void testIsEqualTo_withNamespaceContext_shouldPass() { String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + "<feed xmlns=\"http: " <title>Search Engine Feed</title>" + " <link href=\"https: " <entry>" + " <title>Google</title>" + " <id>goog</id>" + " </entry>" + " <entry>" + " <title>Bing</title>" + " <id>msft</id>" + " </entry>" + "</feed>"; HashMap<String, String> prefix2Uri = new HashMap<>(); prefix2Uri.put("atom", "http: assertThat(xml).withNamespaceContext(prefix2Uri) .valueByXPath("count( assertThat(xml).withNamespaceContext(prefix2Uri) .valueByXPath(" assertThat(xml).withNamespaceContext(prefix2Uri) .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);  }