public int?PostPositions(string email, string pincode)
        {
            // Arrange
            Position        pos1    = new Position(2.5, 2.5);
            Position        pos2    = new Position(3.0, 3.0);
            List <Position> listPos = new List <Position> {
                pos1, pos2
            };

            User user = _authenticationService.Authenticate(email, pincode);

            if (user != null)
            {
                _utility.Setup(x => x.GetToken(It.IsAny <HttpRequest>())).Returns(user.Token);
            }
            _loggingService.Setup(x => x.Create(It.IsAny <string>(), listPos)).Returns(true);

            // Act
            IStatusCodeActionResult result = (IStatusCodeActionResult)_controller.PostPositions(listPos);

            // Assert
            return(result.StatusCode);
        }