Unit Testing Trivalities?
The following code is a MonoRail action. It doesn't do much, but relies on the framework to do most of its work.
public void ShowCustomerDetails([ARFetch("id")] Customer customer)
{
if(customer==null)
RenderSharedView("common/notfound");
PropertyBag["customer"] = customer;
}
What are the arguments for/against testing this method directly?

Comments
Comment preview