public void GetCollection_WhenIsNotInStrategy_ThenThrow() { //Arrange & Act & Assert Action act = () => CollectionDiscover.GetCollection <string>(); act.Should().Throw <Exception>(); }
public void GetCollection_WhenIsInStrategy_ThenReturnCorrectCollection() { //Arrange & Act & Assert CollectionDiscover.GetCollection <Leaderboard>().Should().Be("leaderboard"); }