I am trying to get a very basic test working that looks like this and keep getting a failure.
Test:
Submit method:
The test fails on this line:
Can you tell me why this does not pass?
Test:
[TestMethod()] public void FooSubmitTest() { Mock.SetupStatic<Foo>(); Foo.Submit(); Mock.Assert(() => Foo.Submit()); }Submit method:
public class Foo { public static void Submit() { throw new NotImplementedException(); } The test fails on this line:
throw new NotImplementedException();
Can you tell me why this does not pass?