@@ -0,0 +1,881 @@
+package org.drupal.project.computing.test;%0A%0Aimport org.drupal.project.computing.DRecord;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNull;%0Aimport static org.junit.Assert.assertTrue;%0A%0Apublic class DRecordTest %7B%0A%0A    @Test%0A    public void testConversion() %7B%0A        DRecord record = new DRecord();%0A        record.setId(1L);%0A        record.setApplication(%22default%22);%0A        record.setCommand(%22Echo%22);%0A%0A        String json = record.toJson();%0A        System.out.println(json);%0A        assertTrue(json.startsWith(%22%7B%22));%0A        assertTrue(json.endsWith(%22%7D%22));%0A%0A        DRecord rebuild = DRecord.fromJson(json);%0A        assertEquals(new Long(1), rebuild.getId());%0A        assertEquals(%22default%22, rebuild.getApplication());%0A        assertEquals(%22Echo%22, rebuild.getCommand());%0A        assertNull(rebuild.getMessage());%0A    %7D%0A%7D%0A

add UnitTest to DRecord