Instantly share code, notes, and snippets.

Embed
What would you like to do?
[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