source: class JSONDDMStorageAdapterTest  {
  
  	@Mock
  	private DDMContentLocalService _ddmContentLocalService;
  	@Mock
  	private DDMFormValuesDeserializer _ddmFormValuesDeserializer;
  	@Mock
  	private DDMFormValuesSerializer _ddmFormValuesSerializer;
  	private JSONDDMStorageAdapter _jsonDDMStorageAdapter;
  
  	@Test(expected = StorageException.class)
  	public void testDeleteException() throws Exception {
  
target: 		when(
  			_ddmContentLocalService.deleteDDMContent(2)
  		).thenThrow(
  			Exception.class
  		);
  
  		DDMStorageAdapterDeleteRequest.Builder builder =
  			DDMStorageAdapterDeleteRequest.Builder.newBuilder(2);
  
  		_jsonDDMStorageAdapter.delete(builder.build());
  	}
  
  }