public void Test_GetAll() { var all = _keyService.GetAll(); var expected = Enum.GetValues(typeof(Key)).Cast <Key>(); Assert.That(all, Is.EquivalentTo(expected)); }