package com.tlswe.awsmock.common.exception;

import org.junit.Test;


public class AwsMockExceptionTest {

    @Test(expected=AwsMockException.class)
    public void Test_AwsMockExceptionMessageAndThrowable(){
        throw new AwsMockException("AWS Mock Exception", new Exception());
    }

    @Test(expected=AwsMockException.class)
    public void Test_AwsMockExceptionMessageOnly(){
        throw new AwsMockException("AWS Mock Exception");
    }

    @Test(expected=AwsMockException.class)
    public void Test_AwsMockExceptionThrowableOnly(){
        throw new AwsMockException(new Exception());
    }

}

@@ -38,16 +38,43 @@
 ption;%0A%0A
+%0A%0Aimport org.junit.Assert;%0A
 import o
@@ -629,10 +629,201 @@
 %0A    %7D%0A%0A
+    @Test%0A    public void Test_AwsMockExceptionNoArgsConstructor()%7B%0A        AwsMockException awsMockException = new AwsMockException();%0A        Assert.assertNotNull(awsMockException);%0A    %7D%0A%0A
 %7D%0A

Increase coverage of AwsMockExceptionTest