public void PostRightWhenBase64DataIsNullReturnsMessage() { // Arrange testSetUp(); // Act var result = controller.PostRightV2("1", null); // Assert Assert.IsNotNull(result); Assert.AreEqual(result.StatusCode, HttpStatusCode.BadRequest); //Assert.AreEqual("Text can not be null", result); }