diff options
Diffstat (limited to 'adapters/mso-adapters-rest-interface/src/test/java/org/openecomp/mso/adapters/nwrest/UpdateNetworkErrorESTest.java')
-rw-r--r-- | adapters/mso-adapters-rest-interface/src/test/java/org/openecomp/mso/adapters/nwrest/UpdateNetworkErrorESTest.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/adapters/mso-adapters-rest-interface/src/test/java/org/openecomp/mso/adapters/nwrest/UpdateNetworkErrorESTest.java b/adapters/mso-adapters-rest-interface/src/test/java/org/openecomp/mso/adapters/nwrest/UpdateNetworkErrorESTest.java new file mode 100644 index 0000000000..4f24306501 --- /dev/null +++ b/adapters/mso-adapters-rest-interface/src/test/java/org/openecomp/mso/adapters/nwrest/UpdateNetworkErrorESTest.java @@ -0,0 +1,37 @@ +/* + * This file was automatically generated by EvoSuite + * Mon Nov 14 09:22:12 GMT 2016 + */ + +package org.openecomp.mso.adapters.nwrest; + +import org.junit.Test; +import static org.junit.Assert.*; + +import org.openecomp.mso.openstack.exceptions.MsoExceptionCategory; +import org.evosuite.runtime.EvoRunner; +import org.evosuite.runtime.EvoRunnerParameters; +import org.junit.runner.RunWith; + +@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) +public class UpdateNetworkErrorESTest extends UpdateNetworkErrorESTestscaffolding { + + @Test(timeout = 4000) + public void test0() throws Throwable { + UpdateNetworkError updateNetworkError0 = new UpdateNetworkError(); + assertNull(updateNetworkError0.getMessageId()); + } + + @Test(timeout = 4000) + public void test1() throws Throwable { + UpdateNetworkError updateNetworkError0 = new UpdateNetworkError(""); + assertNull(updateNetworkError0.getCategory()); + } + + @Test(timeout = 4000) + public void test2() throws Throwable { + MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.OPENSTACK; + UpdateNetworkError updateNetworkError0 = new UpdateNetworkError("", msoExceptionCategory0, false, ""); + assertEquals("", updateNetworkError0.getMessage()); + } +} |