public IContext Install <T>() where T : IExtension { _extensionInstaller.Install <T>(); return(this); }
public void extension_instance_is_installed() { int callCount = 0; installer.Install(new CallbackExtension((Action <IContext>) delegate(IContext ctx) { callCount++; })); Assert.That(callCount, Is.EqualTo(1)); }