### Question:
VirtualProperty { @Override public String toString() { return String.format("%s=%s", name, value); } VirtualProperty(final String name, final String value, final boolean isDynamic); String getName(); String getValue(); void setValue(String resolved); boolean isDynamic(); @Override String toString(); @PluginBuilderFactory static Builder newBuilder(); static final String PLUGIN_NAME; }### Answer:
@Test public void toStringPrintsFormattedInfo() { String expectedName = UUID.randomUUID().toString(); String expectedValue = UUID.randomUUID().toString(); VirtualProperty property = createDefaultVirtualPropertyBuilder() .withName(expectedName) .withValue(expectedValue) .build(); String result = property.toString(); assertEquals(result, String.format("%s=%s", expectedName, expectedValue)); }