public void When調用MemberRepository_Insert() { var fromUI = this.ScenarioContext.Get <InsertMemberRequest>("fromUI"); var repository = new MemberRepository(); repository.Now = TestHook.TestNow; repository.Id = TestHook.Parse("1"); repository.ConnectionString = ConnectionString; repository.Insert(fromUI, TestHook.TestUserId); }
public void Before() { TestHook.DeleteAll(ConnectionString); }
public void After() { TestHook.DeleteAll(ConnectionString); }