public void TestOnce() { var e = new FirableEvent<char>(); var o = new List<char>(); var l = e.Once().Subscribe(o.Add); e.Fire('A'); e.Fire('B'); e.Fire('C'); l.Dispose(); AssertArraysEqual(Arrays<char>.AsList('A'), o); }