Skip to content

Instantly share code, notes, and snippets.

@ifew
Last active July 8, 2018 14:52
Show Gist options
  • Save ifew/1d96adc587c5d57a0e4b7c28a4fb57ed to your computer and use it in GitHub Desktop.
Save ifew/1d96adc587c5d57a0e4b7c28a4fb57ed to your computer and use it in GitHub Desktop.
.Net Core 2 Dummy (Unit Test)
using System;
using Xunit;
namespace member_dummy
{
public class MemberTest
{
[Fact]
public void When_Called_Member_Should_Be_Object_Type_Member() {
Member member = new Member(new DummyAuthorize());
Assert.IsType<Member>(member);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment