Unit test hinzugefügt
This commit is contained in:
18
InjectorTest/HelperTest.cs
Normal file
18
InjectorTest/HelperTest.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using SmallInjectorDemo;
|
||||
using Xunit;
|
||||
|
||||
namespace InjectorTest
|
||||
{
|
||||
public class HelperTest
|
||||
{
|
||||
[Fact]
|
||||
public void Test()
|
||||
{
|
||||
const string expected = "[-] HelperTest.Test Id: 0";
|
||||
var actual = Helper.WriteMethodString(new TestClock(), 0);
|
||||
Assert.Equal(expected, actual);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user