public void ContentObjectFactoryCreateWrongTypeTest() { _ = new ContentObjectFactory(new SessionContext()).Create("cs", 1); }
/// <summary>Instantiate REST tester with endpoint URL</summary> /// <param name="endPoint">URL of the end point (base URL) of the REST server</param> /// <remarks> /// Taking a dependency on the injector since this is an entry point for FitNesse, /// so we don't want the dependencies to be injected via the constructor here /// </remarks> public RestTester(string endPoint) { _session = Injector.InjectRestSession(endPoint); _contentObjectFactory = Injector.InjectContentObjectFactory(); }
public void ContentObjectFactoryCreateNullTest() { _ = new ContentObjectFactory(null).Create(null, 1); }