public void Container_can_initialise_all_objects() { var containerManager = new ContainerManager(); var container = containerManager.InitialiseContainer(); Assert.DoesNotThrow(() => container.Verify()); }
public static FightingFantasy Create() { var containerManager = new ContainerManager(); var container = containerManager.InitialiseContainer(); return(container.GetInstance <FightingFantasy>()); }