### Question:
MsoCloudIdentityNotFound extends MsoException { @Override public String toString() { return getMessage(); } MsoCloudIdentityNotFound();  MsoCloudIdentityNotFound(String cloudIdentity); @Override String toString();  }### Answer:
@Test public void testConstructor() { MsoCloudIdentityNotFound msoCloudIdentityNotFound = new MsoCloudIdentityNotFound(); Assert.assertEquals("Cloud Identity not found", msoCloudIdentityNotFound.getMessage()); Assert.assertEquals("Cloud Identity not found", msoCloudIdentityNotFound.toString()); Assert.assertEquals(MsoExceptionCategory.USERDATA, msoCloudIdentityNotFound.category); }
@Test public void testOverloadedConstructor() { MsoCloudIdentityNotFound msoCloudIdentityNotFound = new MsoCloudIdentityNotFound("test"); Assert.assertEquals("Cloud Identity [test] not found", msoCloudIdentityNotFound.getMessage()); Assert.assertEquals("Cloud Identity [test] not found", msoCloudIdentityNotFound.toString()); Assert.assertEquals(MsoExceptionCategory.USERDATA, msoCloudIdentityNotFound.category); }