public MazeCrawlerQueen(IMazeCrawlerSpawner spawner, ILogger <MazeCrawlerQueen> logger) { Id = Guid.NewGuid().ToString(); Logger = logger; _spawner = spawner; }
public MazeCrawlerQueenTests() { _spawner = Substitute.For <IMazeCrawlerSpawner>(); _queen = new MazeCrawlerQueen(_spawner, Substitute.For <ILogger <MazeCrawlerQueen> >()); }