@Test public void test_newRecord() { assertTrue(recordFactory.newListGridRecord(aJsonObject()) != null); }
public ListGridRecord newListGridRecord(JsonNode node) { if (!node.isNullNode()) { final ListGridRecord record = new ListGridRecord(); updater.update(record, node); return record; } else { return null; } }
ListGridRecordFactory { public ListGridRecord newListGridRecord(JsonNode node) { if (!node.isNullNode()) { final ListGridRecord record = new ListGridRecord(); updater.update(record, node); return record; } else { return null; } } }
ListGridRecordFactory { public ListGridRecord newListGridRecord(JsonNode node) { if (!node.isNullNode()) { final ListGridRecord record = new ListGridRecord(); updater.update(record, node); return record; } else { return null; } } @Inject  ListGridRecordFactory(RecordJSONUpdater updater); }
ListGridRecordFactory { public ListGridRecord newListGridRecord(JsonNode node) { if (!node.isNullNode()) { final ListGridRecord record = new ListGridRecord(); updater.update(record, node); return record; } else { return null; } } @Inject  ListGridRecordFactory(RecordJSONUpdater updater); ListGridRecord newListGridRecord(JsonNode node); ListGridRecord[] newListGridRecords(List<JsonNode> nodes); }
ListGridRecordFactory { public ListGridRecord newListGridRecord(JsonNode node) { if (!node.isNullNode()) { final ListGridRecord record = new ListGridRecord(); updater.update(record, node); return record; } else { return null; } } @Inject  ListGridRecordFactory(RecordJSONUpdater updater); ListGridRecord newListGridRecord(JsonNode node); ListGridRecord[] newListGridRecords(List<JsonNode> nodes);  }