Ejemplo n.º 1
0
 private void Setup(out GameObject gameObject, out Health health)
 {
     gameObject = TestSetup.CreateEmptyTestObject();
     health     = gameObject.AddComponent <Health>();
 }
        public void T02_CreateEmptyTestObjectWorks()
        {
            GameObject gameObject = TestSetup.CreateEmptyTestObject();

            Assert.That(gameObject, Is.Not.Null);
        }
 private void SetupMockHealth(out GameObject gameObject, out IHealth health)
 {
     gameObject = TestSetup.CreateEmptyTestObject();
     health     = Substitute.For <IHealth>();
 }