[TestMethod]
public void TestMethod1()
{
// Arrange
var mockObject = new Mock();
var sut = new MyClass(mockObject.Object);
// Act
sut.MyMethod();
// Assert
mockObject.Verify(m => m.SomeMethod(), Times.Once());
}
--logger "trx" --configuration "$(BuildConfiguration)" MyTestProject/MyTestProject.csproj