Class TemplateTest

java.lang.Object
fr.tiogars.template.model.TemplateTest

public class TemplateTest extends Object
Unit tests for the Template class. This class tests all public methods and constructors of the Template model.
  • Constructor Details

    • TemplateTest

      public TemplateTest()
  • Method Details

    • testGettersAndSetters

      @Test public void testGettersAndSetters()
      Tests the getter and setter methods for all Template fields. Verifies that values set through setters are correctly retrieved by getters.
    • testToString

      @Test public void testToString()
      Tests the toString method with populated field values. Verifies that all field values are present in the string representation.
    • testToStringWithNullValues

      @Test public void testToStringWithNullValues()
      Tests the toString method with default (null) field values. Verifies that the string representation correctly handles null values.