View Javadoc
1   /*
2    * Licensed under the GPL License. You may not use this file except in compliance with the License.
3    * You may obtain a copy of the License at
4    *
5    *   https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
6    *
7    * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
8    * WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
9    * PURPOSE.
10   */
11  package psiprobe.model;
12  
13  import com.codebox.bean.JavaBeanTester;
14  
15  import org.junit.jupiter.api.Test;
16  
17  /**
18   * The Class ApplicationTest.
19   */
20  class ApplicationTest {
21  
22    /**
23     * Javabean tester.
24     */
25    // TODO Not sure why serialization fails on this one...
26    @Test
27    void javabeanTester() {
28      JavaBeanTester.builder(Application.class).loadData().skipStrictSerializable().test();
29    }
30  
31  }