Post() private method

private Post ( Resource, data ) : HttpResponseMessage
data Resource,
return HttpResponseMessage
        public void PostTest_BadRequest()
        {
            // Arrange
            ResourcesController target = new ResourcesController(_service);

            // Act
            var actual = target.Post(null) as BadRequestResult;

            // Assert
            Assert.IsNotNull(actual);
        }
        public void PostTest()
        {
            // Arrange
            ResourcesController target   = new ResourcesController(_service);
            Resource            expected = _mockdata.NewResource();

            // Act
            var actual = target.Post(expected) as CreatedAtRouteResult;

            // Assert
            Assert.IsNotNull(actual);
        }
        public void PostTest_Exception()
        {
            // Arrange
            ResourcesController target   = new ResourcesController(_errorService);
            Resource            expected = _mockdata.NewResource();

            // Act
            var actual = target.Post(expected) as ObjectResult;

            // Assert
            Assert.IsNotNull(actual);
        }