// Path: src/main/java/org/cloudfoundry/community/servicebroker/datalifecycle/config/LCCatalogConfig.java
// @Configuration
// public class LCCatalogConfig {
// 
// 	private ServiceDefinition postgresServiceDefinition;
// 
// 	public static String PRODUCTION = "prod";
// 	public static String COPY = "copy";
// 
// 	public LCCatalogConfig() {
// 		List<Plan> plans = new ArrayList<Plan>();
// 		plans.add(new Plan(PRODUCTION, PRODUCTION, "The production datasource",
// 				getProdMetadata()));
// 		plans.add(new Plan(COPY, COPY, "Copy of production datasource",
// 				getCopyMetadata()));
// 		postgresServiceDefinition = new ServiceDefinition("lifecycle-sb",
// 				"lifecycle-sb", "Postgres Running in AWS", true, plans);
// 		postgresServiceDefinition.setPlanUpdatable(false);
// 	}
// 
// 	private Map<String, Object> getProdMetadata() {
// 		return new HashMap<String, Object>();
// 	}
// 
// 	private Map<String, Object> getCopyMetadata() {
// 		return new HashMap<String, Object>();
// 	}
// 
// 	@Bean
// 	public Catalog catalog() {
// 		return new Catalog(Collections.singletonList(postgresServiceDefinition));
// 	}
// }


import static org.hamcrest.Matchers.hasSize;
import static org.junit.Assert.assertThat;
import org.cloudfoundry.community.servicebroker.datalifecycle.config.LCCatalogConfig;
import org.cloudfoundry.community.servicebroker.model.Catalog;
import org.junit.Before;
import org.junit.Test;
package org.cloudfoundry.community.servicebroker.datalifecycle.config;



public class LCCatalogTest {

	private Catalog pgCat;

	@Before
	public void setUp() {
// Path: src/main/java/org/cloudfoundry/community/servicebroker/datalifecycle/config/LCCatalogConfig.java
// @Configuration
// public class LCCatalogConfig {
// 
// 	private ServiceDefinition postgresServiceDefinition;
// 
// 	public static String PRODUCTION = "prod";
// 	public static String COPY = "copy";
// 
// 	public LCCatalogConfig() {
// 		List<Plan> plans = new ArrayList<Plan>();
// 		plans.add(new Plan(PRODUCTION, PRODUCTION, "The production datasource",
// 				getProdMetadata()));
// 		plans.add(new Plan(COPY, COPY, "Copy of production datasource",
// 				getCopyMetadata()));
// 		postgresServiceDefinition = new ServiceDefinition("lifecycle-sb",
// 				"lifecycle-sb", "Postgres Running in AWS", true, plans);
// 		postgresServiceDefinition.setPlanUpdatable(false);
// 	}
// 
// 	private Map<String, Object> getProdMetadata() {
// 		return new HashMap<String, Object>();
// 	}
// 
// 	private Map<String, Object> getCopyMetadata() {
// 		return new HashMap<String, Object>();
// 	}
// 
// 	@Bean
// 	public Catalog catalog() {
// 		return new Catalog(Collections.singletonList(postgresServiceDefinition));
// 	}
// }


// Path: src/test/java/org/cloudfoundry/community/servicebroker/datalifecycle/config/LCCatalogTest.java
import static org.hamcrest.Matchers.hasSize;
import static org.junit.Assert.assertThat;
import org.cloudfoundry.community.servicebroker.datalifecycle.config.LCCatalogConfig;
import org.cloudfoundry.community.servicebroker.model.Catalog;
import org.junit.Before;
import org.junit.Test;

package org.cloudfoundry.community.servicebroker.datalifecycle.config;



public class LCCatalogTest {

	private Catalog pgCat;

	@Before
	public void setUp() {
		pgCat = new LCCatalogConfig().catalog();