public void Should_Remove_Plugin( ) { Trigger testTrigger = new Trigger( 1, DateTime.Now, 10 ); testTrigger.AddPlugin( new Example( 1, 1, "Example plugin" ) ); testTrigger.RemovePlugin( 0 ); Assert.IsEmpty( testTrigger.GetAllPlugins( ) ); }