public void StopsTheRuntime() { var target = new RuntimeHost(runtime.Object, environment.Object, services.Object); target.Stop(); runtime.Verify(o => o.Stop(), Times.Once); }
public void ReturnsTheEnvironment() { var target = new RuntimeHost(runtime.Object, environment.Object, services.Object); Assert.AreSame(environment.Object, target.Environment); }
public void ReturnsTheServices() { var target = new RuntimeHost(runtime.Object, environment.Object, services.Object); Assert.AreSame(services.Object, target.ApplicationServices); }