[Test] public void OptionalAssemblyIsLoaded() { SetUpMockDomain(); applicationUnderTest.AddOptionalAssembly("myassembly.dll"); domain.Verify(d => d.LoadAssembly("myassembly.dll"), Times.Once()); }