public void Supplier_DetailTakesNullableId_ReturnsSingleSupplierAtId() { context.Insert(GetMockSupplier()); var result = supplierController.Details(0) as ViewResult; Assert.IsEmpty(result.ViewName); }