@@ -0,0 +1,1498 @@
+package replicant.spy;%0A%0Aimport arez.Arez;%0Aimport java.util.HashMap;%0Aimport org.testng.annotations.Test;%0Aimport replicant.AbstractReplicantTest;%0Aimport static org.testng.Assert.*;%0A%0Apublic class DataLoaderMessageProcessFailureEventTest%0A  extends AbstractReplicantTest%0A%7B%0A  @Test%0A  public void basicOperation()%0A  %7B%0A    final DataLoaderMessageProcessFailureEvent event =%0A      new DataLoaderMessageProcessFailureEvent( G.class, new Error( %22Some ERROR%22 ) );%0A%0A    assertEquals( event.getSystemType(), G.class );%0A%0A    final HashMap%3CString, Object%3E data = new HashMap%3C%3E();%0A    Arez.context().safeAction( () -%3E event.toMap( data ) );%0A%0A    assertEquals( data.get( %22type%22 ), %22DataLoader.MessageProcessFailure%22 );%0A    assertEquals( data.get( %22systemType%22 ), %22G%22 );%0A    assertEquals( data.get( %22message%22 ), %22Some ERROR%22 );%0A    assertEquals( data.size(), 3 );%0A  %7D%0A%0A  @Test%0A  public void basicOperation_ThrowableNoMessage()%0A  %7B%0A    final DataLoaderMessageProcessFailureEvent event =%0A      new DataLoaderMessageProcessFailureEvent( G.class, new NullPointerException() );%0A%0A    assertEquals( event.getSystemType(), G.class );%0A%0A    final HashMap%3CString, Object%3E data = new HashMap%3C%3E();%0A    Arez.context().safeAction( () -%3E event.toMap( data ) );%0A%0A    assertEquals( data.get( %22type%22 ), %22DataLoader.MessageProcessFailure%22 );%0A    assertEquals( data.get( %22systemType%22 ), %22G%22 );%0A    assertEquals( data.get( %22message%22 ), %22java.lang.NullPointerException%22 );%0A    assertEquals( data.size(), 3 );%0A  %7D%0A%0A  enum G%0A  %7B%0A    G1%0A  %7D%0A%7D%0A

Add test for DataLoaderMessageProcessFailureEvent spy event