public void SetUp()
        {
            _contextMock = new Mock<IDbContext>();

            _compiler = new TestCompiler();
            _participant = new Participant{Email = "", Id = 12};
            _controller = new BuildController(_contextMock.Object, _compiler, _participant);
        }
 public void SetBuildConstructorWithoutGivenParticipantGivesInvalidOperationFromTest()
 {
     _controller = new BuildController(_contextMock.Object, _compiler);
 }