public void Add() { var rh = new OperationHolder(); rh.Add("operation1", "principal1"); Assert.Equal(1, rh.OperationCount); }
public void ContainsPrincipal() { var rh = new OperationHolder(); rh.Add("operation1", "principal1"); Assert.True(rh.ContainsPrincipal("operation1", "principal1")); }