public void AddDomainSuppression_ForCurrentUser_ReturnActionResult() { // Arrange var controller = new GroupController(); InitializeDomain(); // Act var result = controller.AddDomainSuppression(GroupId, RbType, Text) as JsonResult; // Assert result.ShouldSatisfyAllConditions( () => result.ShouldNotBeNull(), () => result.Data.ShouldNotBeNull()); }