question: public void testWriteReadEmpty ( ) throws Exception { ByteArrayOutputStream out = new ByteArrayOutputStream ( 0 ) ; ObjectOutputStream os = new ObjectOutputStream ( out ) ; os . writeObject ( empty ) ; ObjectInputStream is = new ObjectInputStream ( new ByteArrayInputStream ( out . toByteArray ( ) ) ) ; FailOverPolicy . FailOverPolicyDescription copy = ( FailOverPolicy . FailOverPolicyDescription ) is . readObject ( ) ; is . close ( ) ; os . close ( ) ; assertNull ( copy . m_BackupMemberNames ) ; assertNull ( copy . m_BackupOnly ) ; assertEquals ( - 1 , copy . m_PolicyType ) ; }
target:  Test read and write empty ClusterPolicy object