@Test public void testUnmarshall() throws Exception { GameScene theScene = mock(GameScene.class); Map<String, Object> theData = new HashMap<>(); theData.put(GameObjectInstanceLeftLayoutCondition.TYPE_ATTRIBUTE, GameObjectInstanceLeftLayoutCondition.TYPE_VALUE); GameObjectInstanceLeftLayoutConditionUnmarshaller theUnmarshaller = new GameObjectInstanceLeftLayoutConditionUnmarshaller(); GameObjectInstanceLeftLayoutCondition theCondition = theUnmarshaller.unmarshall(theScene, theData); assertTrue(theCondition.gameObjectProperty().isNull()); }
@Override public GameObjectInstanceLeftLayoutCondition unmarshall(GameScene aGameScene, Map<String, Object> aSerializedData) { return GameObjectInstanceLeftLayoutCondition.unmarshall(aGameScene, aSerializedData); }
GameObjectInstanceLeftLayoutConditionUnmarshaller implements ConditionUnmarshaller { @Override public GameObjectInstanceLeftLayoutCondition unmarshall(GameScene aGameScene, Map<String, Object> aSerializedData) { return GameObjectInstanceLeftLayoutCondition.unmarshall(aGameScene, aSerializedData); } }
GameObjectInstanceLeftLayoutConditionUnmarshaller implements ConditionUnmarshaller { @Override public GameObjectInstanceLeftLayoutCondition unmarshall(GameScene aGameScene, Map<String, Object> aSerializedData) { return GameObjectInstanceLeftLayoutCondition.unmarshall(aGameScene, aSerializedData); }  }
GameObjectInstanceLeftLayoutConditionUnmarshaller implements ConditionUnmarshaller { @Override public GameObjectInstanceLeftLayoutCondition unmarshall(GameScene aGameScene, Map<String, Object> aSerializedData) { return GameObjectInstanceLeftLayoutCondition.unmarshall(aGameScene, aSerializedData); }  @Override String getTypeKey(); @Override GameObjectInstanceLeftLayoutCondition unmarshall(GameScene aGameScene, Map<String, Object> aSerializedData); }
GameObjectInstanceLeftLayoutConditionUnmarshaller implements ConditionUnmarshaller { @Override public GameObjectInstanceLeftLayoutCondition unmarshall(GameScene aGameScene, Map<String, Object> aSerializedData) { return GameObjectInstanceLeftLayoutCondition.unmarshall(aGameScene, aSerializedData); }  @Override String getTypeKey(); @Override GameObjectInstanceLeftLayoutCondition unmarshall(GameScene aGameScene, Map<String, Object> aSerializedData);  }