Ejemplo n.º 1
0
 public void ContentObjectFactoryCreateWrongTypeTest()
 {
     _ = new ContentObjectFactory(new SessionContext()).Create("cs", 1);
 }
Ejemplo n.º 2
0
 /// <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();
 }
Ejemplo n.º 3
0
 public void ContentObjectFactoryCreateNullTest()
 {
     _ = new ContentObjectFactory(null).Create(null, 1);
 }