Example #1
0
        public void VerifyNullCommandThrows()
        {
            // Arrange
            var expectation = new EmptyStringBehaviorExpectation();

            // Act & Assert
            Assert.Throws <ArgumentNullException>(() => expectation.Verify(default));
Example #2
0
        public void SutIsBehaviorExpectation()
        {
            // Arrange
            var expectation = new EmptyStringBehaviorExpectation();

            // Act & Assert
            Assert.IsAssignableFrom <IBehaviorExpectation>(expectation);
        }