public Case(
     TheoryItemPromise theoryItem,
     Type requiredType)
 {
     this.Promise      = theoryItem;
     this.RequiredType = requiredType;
 }
 public OpenGenericCase(
     TheoryItemPromise theoryItem,
     Type serviceType,
     Type implementationType,
     Type requestType)
 {
     this.Promise            = theoryItem;
     this.ServiceType        = serviceType;
     this.ImplementationType = implementationType;
     this.RequestType        = requestType;
 }
 public void Deserialize(
     IXunitSerializationInfo info)
 {
     this.Promise = info.GetValue <TheoryItemPromise>(nameof(this.Promise));
 }
 public Case(
     TheoryItemPromise theoryItem)
 {
     this.Promise = theoryItem;
 }