Created
November 8, 2018 00:20
-
-
Save StephanyBatista/1b09e39f0410e1698859d429b0ebdd5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fact] | |
public void DeveCriarUmCurso() | |
{ | |
var cursoEsperado = new | |
{ | |
Nome = _nome, | |
Valor = _valor, | |
Descricao = _descricao | |
}; | |
var curso = new Curso(cursoEsperado.Nome, cursoEsperado.Descricao, cursoEsperado.Valor); | |
cursoEsperado.ToExpectedObject().ShouldMatch(curso); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment