public void SetUp()
 {
     this.mockedPersonsDAO = A.Fake<IPersonsDAO>();
     this.personsController = new PersonsController(mockedPersonsDAO);
     this.mockedPerson = A.Fake<Person>();
 }
示例#2
0
 /// <summary>
 /// Adds the new person.
 /// </summary>
 public void AddNewPerson(Person person)
 {
     throw new NotImplementedException();
 }
示例#3
0
 /// <summary>
 /// Updates the person record.
 /// </summary>
 /// <param name="username">The username.</param>
 /// <exception cref="NotImplementedException"></exception>
 public void UpdatePersonRecord(int id, Person username)
 {
     throw new NotImplementedException();
 }
示例#4
0
 public void UpdatePersonRecord(Person person)
 {
     throw new NotImplementedException();
 }
示例#5
0
 public void SetUp()
 {
     this.mockedPerson = A.Fake<Person>();
 }