예제 #1
0
 public Meal(IVerdureUser user) : base(user)
 {
     _fooditems = new List <IFoodItem>();
 }
예제 #2
0
 public void GivenICreateMyUserRecordForMySnack()
 {
     _user = new VerdureUser("Pete");
 }
예제 #3
0
 public void WhenICreateMyUserRecord()
 {
     _user = new VerdureUser(_username);
 }
예제 #4
0
 public void WhenICreateAnotherUser()
 {
     _anotherUser = new VerdureUser(_anotherUsername);
 }
예제 #5
0
 public Snack(IVerdureUser user) : base(user)
 {
 }
예제 #6
0
 public void SetUser(IVerdureUser user)
 {
     _user = user;
 }
예제 #7
0
 public void GivenIHaveAUserToAssignTheEntityTo()
 {
     _user = new VerdureUser("Mary");
 }
예제 #8
0
 public InvokableAssignableModifyableEntity(IVerdureUser _user) : base(_user)
 {
 }
예제 #9
0
 public void WhenIGetTheUser()
 {
     _returnedUser = _service.CurrentUser;
 }
예제 #10
0
 public void GivenAUserHasBeenSet()
 {
     _user = new VerdureUser("Frankie");
     _service.SetUser(_user);
 }
예제 #11
0
 public void GivenIHaveAUser()
 {
     _user = new VerdureUser("Frankie");
 }
예제 #12
0
 protected VerdureAssignableModifyableEntity(IVerdureUser user) : base()
 {
     _user = user;
 }
예제 #13
0
 public void GivenICreateMyUserRecordForMyMeal()
 {
     _user = new VerdureUser("Mike");
 }