Skip to content

Instantly share code, notes, and snippets.

@StephanyBatista
Created November 8, 2018 00:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StephanyBatista/1b09e39f0410e1698859d429b0ebdd5d to your computer and use it in GitHub Desktop.
Save StephanyBatista/1b09e39f0410e1698859d429b0ebdd5d to your computer and use it in GitHub Desktop.
[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