package com.intuit.tank.vm.api.enumerated; /* * #%L * Intuit Tank Api * %% * Copyright (C) 2011 - 2015 Intuit Inc. * %% * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * #L% */ import org.junit.*; import com.intuit.tank.vm.api.enumerated.VMSize; import static org.junit.Assert.*; /** * The class <code>VMSizeCpTest</code> contains tests for the class <code>{@link VMSize}</code>. * * @generatedBy CodePro at 9/3/14 3:44 PM */ public class VMSizeCpTest { /** * Run the VMSize fromRepresentation(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testFromRepresentation_1() throws Exception { String representation = ""; VMSize result = VMSize.fromRepresentation(representation); assertEquals(null, result); } /** * Run the VMSize fromRepresentation(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testFromRepresentation_2() throws Exception { String representation = ""; VMSize result = VMSize.fromRepresentation(representation); assertEquals(null, result); } /** * Run the VMSize fromRepresentation(String) method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testFromRepresentation_3() throws Exception { String representation = ""; VMSize result = VMSize.fromRepresentation(representation); assertEquals(null, result); } /** * Run the String getRepresentation() method test. * * @throws Exception * * @generatedBy CodePro at 9/3/14 3:44 PM */ @Test public void testGetRepresentation_1() throws Exception { VMSize fixture = VMSize.ExtraLarge; String result = fixture.getRepresentation(); assertEquals("m1.xlarge", result); } }