Using NetBeans Java Class Library (not Java Application), create a Book class for the Library application project which has only an author and isbn. In addition to properties of author and isbn, with setters/getters, the Book should override Object's base method "boolean equals(Object)" and have a "boolean validate()" method.
Definition of validate:
"Valid state means that an object instance/field/property holds the correct data type and is not empty nor holds a null value".
Use JUnit to test for the following:
Guidance for testValidate:
Test for at least two cases (one case where the book properties hold the correct data types and are not empty nor hold a null value, one where they do not).
Guidance for testEquals: Test for at least two cases (one case where author and isbn match, one where they do not).