public void SetUp() { m_Bus = Substitute.For <IBus>(); m_Id = new PlayerId(); m_VesselRepo = Substitute.For <IVesselRepository>(); m_Repository = new SelectableObjectRepository(m_Bus, m_Id, m_VesselRepo); m_Position = new Vector(5, 7); m_TestTime = 500; m_SelectableObject = CreateSelectableObjectAt(m_Position); m_Repository.AddObject(m_SelectableObject); }
public void SetUp() { m_Bus = Substitute.For<IBus>(); m_Id = new PlayerId(); m_VesselRepo = Substitute.For<IVesselRepository>(); m_Repository = new SelectableObjectRepository(m_Bus, m_Id, m_VesselRepo); m_Position = new Vector(5, 7); m_TestTime = 500; m_SelectableObject = CreateSelectableObjectAt(m_Position); m_Repository.AddObject(m_SelectableObject); }