private void ValidateAssetEncryptionState(IAsset asset, AssetDeliveryProtocol protocolsToTest, AssetEncryptionState expectedState)
        {
            AssetEncryptionState actualState = asset.GetEncryptionState(protocolsToTest);

            Assert.AreEqual(expectedState, actualState);
        }
 public TestCase(AssetDeliveryProtocol protocolsToTest, AssetEncryptionState expectedState)
 {
     ProtocolsToTest = protocolsToTest;
     ExpectedState = expectedState;
 }
        private List<TestCase> GetTestsCasesForProtocolCombination(AssetDeliveryProtocol protocols, AssetEncryptionState expectedState)
        {
            List<TestCase> testCases = new List<TestCase>();

            List<AssetDeliveryProtocol> combinationList = GetAllCombinationsOfDeliveryProtocol(protocols);

            foreach(AssetDeliveryProtocol combination in combinationList)
            {
                testCases.Add(new TestCase(combination, expectedState));
            }

            return testCases;
        }