title: how to unit test a delete method using JustMock lite and MSTest?
body: <p>I am just getting started with unit testing and now stuck writing a test method for delete. I am using MStest and JuckMock. I have my test method as follow. The idea is not to use real repository and use JustMock to mock one but in the code, i am getting a value for updatedCustomer and the test method failed. Hope someone can point out me the right direction.</p>
  
  <pre><code>    [TestMethod]
      public void ShouldDeleteCustomerWithIdParam()
      {
          var repo = Mock.Create&lt;ICustomerRepository&gt;();
          var customerService = new CustomerService(repo);
          var customer = Mock.Create&lt;Customer&gt;();            
          customerService.Delete(customer.Id);
          var updatedCustomer = _customerService.Get(customer.Id);
          Assert.IsNull(updatedCustomer, "customer hasn't been deleted");
      }
  </code></pre>