public void Run_With_Setup_Should_Not_Throw_SetupNotRanException() { ContainervervoerProgram containervervoerProgram = new ContainervervoerProgram(); containervervoerProgram.Setup(); containervervoerProgram.Run(); }
public void Setup_Should_Set_HasSetupRan_To_True() { ContainervervoerProgram containervervoerProgram = new ContainervervoerProgram(); Assert.IsFalse(containervervoerProgram.HasSetupRan); containervervoerProgram.Setup(); Assert.IsTrue(containervervoerProgram.HasSetupRan); }
public void Run_Without_Setup_Should_Throw_SetupNotRanException() { ContainervervoerProgram containervervoerProgram = new ContainervervoerProgram(); Assert.ThrowsException <SetupNotRanException>((Action)containervervoerProgram.Run); }