예제 #1
0
 void ValidateDoorIsInMode(NotificationMessageHolderType notification, DoorMode expectedMode)
 {
     ValidateDoorIsInMode(notification, expectedMode.ToString());
 }
예제 #2
0
 void ValidateDoorIsNotInMode(NotificationMessageHolderType notification, DoorMode notExpectedMode)
 {
     ValidateDoorModeSimpleItem(notification,
                                (s) => s != notExpectedMode.ToString(),
                                (s) => string.Format("Expected: not '{0}', actual: '{1}'", notExpectedMode, s));
 }
 void ValidateDoorModeSimpleItem(NotificationMessageHolderType notification, DoorMode expectedMode)
 {
     ValidateDoorModeSimpleItem(notification, expectedMode.ToString());
 }