@Test public void testGetBatchEntityById(){ List<ID> entityIDs = new ArrayList<ID>(Arrays.asList(Entity.ID.valueOf("test-id-1"), Entity.ID.valueOf("test-id-2"))); GetBatchEntityByID getBatchEntityById = new GetBatchEntityByID(entityIDs); assertEquals(getBatchEntityById.getEntityIDs(), entityIDs); assertEquals(getBatchEntityById.toString(), "Operation [Get Entity] Entity ID [test-id-1, test-id-2]"); }
public GetBatchEntityByID(List<Entity.ID> entityIDs) { super(); this.entityIDs = new ArrayList<Entity.ID>( Preconditions.collectionItemsNotNull(entityIDs, "entityIDs")); }
GetBatchEntityByID implements Operation { public GetBatchEntityByID(List<Entity.ID> entityIDs) { super(); this.entityIDs = new ArrayList<Entity.ID>( Preconditions.collectionItemsNotNull(entityIDs, "entityIDs")); } }
GetBatchEntityByID implements Operation { public GetBatchEntityByID(List<Entity.ID> entityIDs) { super(); this.entityIDs = new ArrayList<Entity.ID>( Preconditions.collectionItemsNotNull(entityIDs, "entityIDs")); } GetBatchEntityByID(List<Entity.ID> entityIDs); }
GetBatchEntityByID implements Operation { public GetBatchEntityByID(List<Entity.ID> entityIDs) { super(); this.entityIDs = new ArrayList<Entity.ID>( Preconditions.collectionItemsNotNull(entityIDs, "entityIDs")); } GetBatchEntityByID(List<Entity.ID> entityIDs); List<Entity.ID> getEntityIDs(); @Override String toString(); }
GetBatchEntityByID implements Operation { public GetBatchEntityByID(List<Entity.ID> entityIDs) { super(); this.entityIDs = new ArrayList<Entity.ID>( Preconditions.collectionItemsNotNull(entityIDs, "entityIDs")); } GetBatchEntityByID(List<Entity.ID> entityIDs); List<Entity.ID> getEntityIDs(); @Override String toString();  }