public void TestWithNullContainer() { IAdapter adapter = new ObstacleAdapter(null); GameObjectStub stub = new GameObjectStub(); adapter.SetFields(stub); }
public void TestWithBadAdapterContainer() { AdapterContainer adapterContainer = new AdapterContainer(); adapterContainer.SetGameObject(null); IAdapter adapter = new ObstacleAdapter(adapterContainer); GameObjectStub stub = new GameObjectStub(); adapter.SetFields(stub); }