VariableImpl implements Variable { static VariableImpl fromValues(final String name, final String object, final String defaultValue, final String value) { return new VariableImpl(name, object, defaultValue, value); } private  VariableImpl(); private  VariableImpl(final String name, final String object,
            final String defaultValue, String value); @Override String getName(); @Override String getObject(); @Override String getDefaultValue(); @Override String getValue(); @Override final int hashCode(); @Override final boolean equals(Object obj); @Override String toString();  }
@Test public final void testFromValues() { Variable variable = Profiles.variableFromValues("name", "object", "defaultValue", "value"); Variable defaultInstance = Profiles.defaultVariable(); assertFalse(variable == defaultInstance); assertTrue(variable.equals(defaultInstance)); }