public void Should_CreateInfoNotification_When_StateChangeFromNoneToOk() { var build = new BuildTest { State = State.Ok }; var notification = build.CreateNotification(); AssertThatNotificationIsInfo(notification); }
public void Should_CreateInfoNotification_When_StateChangeFromQueuedToRunning() { var build = new BuildTest { State = State.Queued }; build.State = State.Running; var notification = build.CreateNotification(); AssertThatNotificationIsInfo(notification); }
public void Should_CreateInfoNotification_When_StateChangeFromQueuedToOk() { var build = new BuildTest { State = State.Queued }; build.State = State.Ok; var notification = build.CreateNotification(); Assert.IsNotNull(notification); Assert.AreEqual(NotificationIcon.Info, notification.Icon); }