public static void Occur_Null(DetectorEvent testeeDetector) { testeeDetector.Occur(null); Assert.IsTrue(testeeDetector.IsOccurred); Assert.IsFalse(testeeDetector.IsOccurredBy(_sender_1)); Assert.IsFalse(testeeDetector.IsOccurredBy(null)); Assert.IsFalse(testeeDetector.IsOccurredBy(_sender_2)); }
public static void StartState(DetectorEvent testeeDetector) { Assert.IsFalse(testeeDetector.IsOccurred); Assert.IsFalse(testeeDetector.IsOccurredBy(null)); Assert.IsFalse(testeeDetector.IsOccurredBy(_sender_1)); }