// Path: pipeline-application/src/main/java/com/smoketurner/pipeline/application/config/PipelineConfiguration.java
// public class PipelineConfiguration extends Configuration {
// 
//   @Valid @NotNull private final AwsConfiguration aws = new AwsConfiguration();
// 
//   @JsonProperty
//   public AwsConfiguration getAws() {
//     return aws;
//   }
// }
// 
// Path: pipeline-application/src/main/java/com/smoketurner/pipeline/application/resources/PingResource.java
// @Path("/ping")
// public class PingResource {
// 
//   @GET
//   @CacheControl(mustRevalidate = true, noCache = true, noStore = true)
//   public Response ping() {
//     return Response.ok("pong").type(MediaType.TEXT_PLAIN).build();
//   }
// }
// 
// Path: pipeline-application/src/main/java/com/smoketurner/pipeline/application/resources/VersionResource.java
// @Path("/version")
// public class VersionResource {
// 
//   private final String version;
// 
//   /** Constructor */
//   public VersionResource() {
//     version = getClass().getPackage().getImplementationVersion();
//   }
// 
//   /**
//    * Constructor
//    *
//    * @param version Version to expose in the endpoint
//    */
//   @VisibleForTesting
//   public VersionResource(@Nonnull final String version) {
//     this.version = Objects.requireNonNull(version);
//   }
// 
//   @GET
//   @CacheControl(mustRevalidate = true, noCache = true, noStore = true)
//   public Response getVersion() {
//     return Response.ok(version).type(MediaType.TEXT_PLAIN).build();
//   }
// }


import org.junit.Test;
import static org.mockito.ArgumentMatchers.isA;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.health.HealthCheckRegistry;
import com.smoketurner.pipeline.application.config.PipelineConfiguration;
import com.smoketurner.pipeline.application.resources.PingResource;
import com.smoketurner.pipeline.application.resources.VersionResource;
import io.dropwizard.jersey.setup.JerseyEnvironment;
import io.dropwizard.lifecycle.setup.LifecycleEnvironment;
import io.dropwizard.setup.Environment;
import org.junit.Before;
import org.junit.Ignore;
/*
 * Copyright © 2019 Smoke Turner, LLC (github@smoketurner.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.smoketurner.pipeline.application;



public class PipelineApplicationTest {
  private final MetricRegistry registry = new MetricRegistry();
  private final Environment environment = mock(Environment.class);
  private final JerseyEnvironment jersey = mock(JerseyEnvironment.class);
  private final LifecycleEnvironment lifecycle = mock(LifecycleEnvironment.class);
  private final HealthCheckRegistry healthChecks = mock(HealthCheckRegistry.class);
  private final PipelineApplication application = new PipelineApplication();
// Path: pipeline-application/src/main/java/com/smoketurner/pipeline/application/config/PipelineConfiguration.java
// public class PipelineConfiguration extends Configuration {
// 
//   @Valid @NotNull private final AwsConfiguration aws = new AwsConfiguration();
// 
//   @JsonProperty
//   public AwsConfiguration getAws() {
//     return aws;
//   }
// }
// 
// Path: pipeline-application/src/main/java/com/smoketurner/pipeline/application/resources/PingResource.java
// @Path("/ping")
// public class PingResource {
// 
//   @GET
//   @CacheControl(mustRevalidate = true, noCache = true, noStore = true)
//   public Response ping() {
//     return Response.ok("pong").type(MediaType.TEXT_PLAIN).build();
//   }
// }
// 
// Path: pipeline-application/src/main/java/com/smoketurner/pipeline/application/resources/VersionResource.java
// @Path("/version")
// public class VersionResource {
// 
//   private final String version;
// 
//   /** Constructor */
//   public VersionResource() {
//     version = getClass().getPackage().getImplementationVersion();
//   }
// 
//   /**
//    * Constructor
//    *
//    * @param version Version to expose in the endpoint
//    */
//   @VisibleForTesting
//   public VersionResource(@Nonnull final String version) {
//     this.version = Objects.requireNonNull(version);
//   }
// 
//   @GET
//   @CacheControl(mustRevalidate = true, noCache = true, noStore = true)
//   public Response getVersion() {
//     return Response.ok(version).type(MediaType.TEXT_PLAIN).build();
//   }
// }


// Path: pipeline-application/src/test/java/com/smoketurner/pipeline/application/PipelineApplicationTest.java
import org.junit.Test;
import static org.mockito.ArgumentMatchers.isA;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.health.HealthCheckRegistry;
import com.smoketurner.pipeline.application.config.PipelineConfiguration;
import com.smoketurner.pipeline.application.resources.PingResource;
import com.smoketurner.pipeline.application.resources.VersionResource;
import io.dropwizard.jersey.setup.JerseyEnvironment;
import io.dropwizard.lifecycle.setup.LifecycleEnvironment;
import io.dropwizard.setup.Environment;
import org.junit.Before;
import org.junit.Ignore;

/*
 * Copyright © 2019 Smoke Turner, LLC (github@smoketurner.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.smoketurner.pipeline.application;



public class PipelineApplicationTest {
  private final MetricRegistry registry = new MetricRegistry();
  private final Environment environment = mock(Environment.class);
  private final JerseyEnvironment jersey = mock(JerseyEnvironment.class);
  private final LifecycleEnvironment lifecycle = mock(LifecycleEnvironment.class);
  private final HealthCheckRegistry healthChecks = mock(HealthCheckRegistry.class);
  private final PipelineApplication application = new PipelineApplication();
  private final PipelineConfiguration config = new PipelineConfiguration();