### Question:
DeleteGameObjectInstanceAction implements Action { @Override public Map<String, Object> serialize() { Map<String, Object> theResult = new HashMap<>(); theResult.put(TYPE_ATTRIBUTE, TYPE_VALUE); return theResult; } @UsedByReflection  DeleteGameObjectInstanceAction(); @Override void invoke(GameScene aScene, ConditionResult aResult); @Override Map<String, Object> serialize(); static DeleteGameObjectInstanceAction unmarshall(); static final String TYPE_VALUE; }### Answer:
@Test public void testSerialize() throws Exception { DeleteGameObjectInstanceAction theAction = new DeleteGameObjectInstanceAction(); Map<String, Object> theData = theAction.serialize(); assertEquals(1, theData.size()); assertEquals(DeleteGameObjectInstanceAction.TYPE_VALUE, theData.get(Action.TYPE_ATTRIBUTE)); }