Skip to content

Instantly share code, notes, and snippets.

@oinant
Last active September 16, 2015 09:36
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 oinant/971abfae026c53368778 to your computer and use it in GitHub Desktop.
Save oinant/971abfae026c53368778 to your computer and use it in GitHub Desktop.
using Shouldly;
namespace Blog.RolePlayingGame.Core.Tests
{
public class HeroBuilderTests
{
public void An_HeroBuilder_can_build_a_warrior()
{
Hero actual = new HeroBuilder()
.OfWarriorClass()
.Create();
actual.Class.ShouldBe(HeroClass.Warrior);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment