Exemplo n.º 1
0
        public void GetEmail_New_ReturnsVoid()
        {
            //Arrange
            var email = "*****@*****.**";

            //Act
            try
            {
                _service.GetEmail(email);
            }
            catch (Exception e)
            {
                Assert.NotEqual("Exception of type was thrown", e.Message);
            }
        }
 public void GetEmail([FromBody] string email)
 {
     _service.GetEmail(email);
 }