@Test(expected = IllegalArgumentException.class)
    public void testWriteObjectNullObject() {
        String fileName = "test/filehandling/testcardlist.dat";
        Object object = null;
        
        writer.writeObject(object, fileName);
    }