@Test
  public void testRespondingGatewayPRPAIN201305UV02Happy() {
    try {
      EntityPatientDiscoverySecured pdSecured =
          new EntityPatientDiscoverySecured() {
            @Override
            protected EntityPatientDiscoverySecuredImpl getEntityPatientDiscoverySecuredImpl() {
              return mockServiceImpl;
            }

            @Override
            protected WebServiceContext getWebServiceContext() {
              return mockWebServiceContext;
            }
          };
      context.checking(
          new Expectations() {
            {
              oneOf(mockServiceImpl)
                  .respondingGatewayPRPAIN201305UV02(
                      with(aNonNull(RespondingGatewayPRPAIN201305UV02RequestType.class)),
                      with(aNonNull(WebServiceContext.class)));
            }
          });

      RespondingGatewayPRPAIN201306UV02ResponseType response =
          pdSecured.respondingGatewayPRPAIN201305UV02(mockRequest);
      assertNotNull("RespondingGatewayPRPAIN201306UV02ResponseType was null", response);
    } catch (Throwable t) {
      System.out.println(
          "Error running testRespondingGatewayPRPAIN201305UV02Happy: " + t.getMessage());
      t.printStackTrace();
      fail("Error running testRespondingGatewayPRPAIN201305UV02Happy: " + t.getMessage());
    }
  }
  @Test
  public void testRespondingGatewayPRPAIN201305UV02NullServiceImpl() {
    try {
      EntityPatientDiscoverySecured pdSecured =
          new EntityPatientDiscoverySecured() {
            @Override
            protected EntityPatientDiscoverySecuredImpl getEntityPatientDiscoverySecuredImpl() {
              return null;
            }

            @Override
            protected WebServiceContext getWebServiceContext() {
              return mockWebServiceContext;
            }
          };

      RespondingGatewayPRPAIN201306UV02ResponseType response =
          pdSecured.respondingGatewayPRPAIN201305UV02(mockRequest);
      assertNull("RespondingGatewayPRPAIN201306UV02ResponseType was not null", response);
    } catch (Throwable t) {
      System.out.println(
          "Error running testRespondingGatewayPRPAIN201305UV02NullServiceImpl: " + t.getMessage());
      t.printStackTrace();
      fail("Error running testRespondingGatewayPRPAIN201305UV02NullServiceImpl: " + t.getMessage());
    }
  }
  @Test
  public void testGetWebServiceContext() {
    try {
      EntityPatientDiscoverySecured pdSecured =
          new EntityPatientDiscoverySecured() {
            @Override
            protected WebServiceContext getWebServiceContext() {
              return mockWebServiceContext;
            }
          };

      WebServiceContext webServiceContext = pdSecured.getWebServiceContext();
      assertNotNull("WebServiceContext was null", webServiceContext);
    } catch (Throwable t) {
      System.out.println("Error running testGetWebServiceContext: " + t.getMessage());
      t.printStackTrace();
      fail("Error running testGetWebServiceContext: " + t.getMessage());
    }
  }
  @Test
  public void testGetEntityPatientDiscoverySecuredImpl() {
    try {
      EntityPatientDiscoverySecured pdSecured =
          new EntityPatientDiscoverySecured() {
            @Override
            protected EntityPatientDiscoverySecuredImpl getEntityPatientDiscoverySecuredImpl() {
              return mockServiceImpl;
            }
          };

      EntityPatientDiscoverySecuredImpl servcieImpl =
          pdSecured.getEntityPatientDiscoverySecuredImpl();
      assertNotNull("EntityPatientDiscoverySecuredImpl was null", servcieImpl);
    } catch (Throwable t) {
      System.out.println(
          "Error running testGetEntityPatientDiscoverySecuredImpl: " + t.getMessage());
      t.printStackTrace();
      fail("Error running testGetEntityPatientDiscoverySecuredImpl: " + t.getMessage());
    }
  }