// constructor behaves the same as [SetUp] public StoryTests() { fakeRepo = new FakeStoryRepository(); controller = new RescueController(userManager, fakeRepo); story = new Story() { Title = "Pineapple", //User = new AppUser() { UserName = "******" }, Text = "Lorem ipsum dolor sit amet", Filename = "30721.jpg", }; }
void Awake() { NotificationController = NotificationObject.GetComponent <NotificationController>(); ObjectiveController = ObjectiveObject.GetComponent <ObjectiveController>(); ElectricCableController = ElectricCable.GetComponent <ElectricCableController>(); AirlockDoorController = AirlockOuterDoor.GetComponent <AirlockDoorController>(); VoiceLines = GetComponent <AudioSource>(); AirlockPressurisationController = AirlockTrigger.GetComponent <AirlockPressurisationController>(); FabricatorController = FabricatorTrigger.GetComponent <FabricatorController>(); PlayerStats = GetComponent <PlayerStats>(); BeaconLocationController = GetComponent <BeaconLocationController>(); RescueController = GetComponent <RescueController>(); }