@Test public void testGetEntityByProperty(){ Name name = Attribute.Name.valueOf("test-property"); GetEntityByProperty getEntityByProperty = new GetEntityByProperty(name, "test-property-val"); assertEquals(getEntityByProperty.getName(),name); assertEquals(getEntityByProperty.getValue(), "test-property-val"); assertEquals(getEntityByProperty.toString(), "Operation [Get Entity] Key [test-property] Value [test-property-val]"); }
public GetEntityByProperty(Name name, String value) { super(); this.name = name; this.value = value; }
GetEntityByProperty implements Operation { public GetEntityByProperty(Name name, String value) { super(); this.name = name; this.value = value; } }
GetEntityByProperty implements Operation { public GetEntityByProperty(Name name, String value) { super(); this.name = name; this.value = value; } GetEntityByProperty(Name name, String value); }
GetEntityByProperty implements Operation { public GetEntityByProperty(Name name, String value) { super(); this.name = name; this.value = value; } GetEntityByProperty(Name name, String value); Name getName(); String getValue(); @Override String toString(); }
GetEntityByProperty implements Operation { public GetEntityByProperty(Name name, String value) { super(); this.name = name; this.value = value; } GetEntityByProperty(Name name, String value); Name getName(); String getValue(); @Override String toString();  }