public void ReturnsForAll_ForNotCalledBeforeValue_ReturnsForAllMessage() { var ex = Assert.Throws <StaticMockException>(() => staticMock.ReturnsForAll("")); Assert.That(ex.Message, Is.EqualTo(StaticMockException.ReturnsForAllMessage())); }