/*-
 * ============LICENSE_START=======================================================
 * OSAM
 * ================================================================================
 * Copyright (C) 2018 AT&T
 * ================================================================================
 * 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.
 * ============LICENSE_END=========================================================
 */



//package org.onap.vid.scheduler.RestObjects;
//
//import org.junit.Test;
//
//
//public class PostCreateNewVnfRestObjectTest {
//
//	private PostCreateNewVnfRestObject createTestSubject() {
//		return new PostCreateNewVnfRestObject();
//	}
//
//
//	@Test
//	public void testSetUUID() throws Exception {
//		PostCreateNewVnfRestObject testSubject;
//		String uuid = "";
//
//		// default test
//		testSubject = createTestSubject();
//		testSubject.setUUID(uuid);
//	}
//
//
//	@Test
//	public void testGetUUID() throws Exception {
//		PostCreateNewVnfRestObject testSubject;
//		String result;
//
//		// default test
//		testSubject = createTestSubject();
//		result = testSubject.getUUID();
//	}
//}
