@@ -0,0 +1,1438 @@
+package com.cron.utils.parser.field;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertTrue;%0Aimport static org.mockito.Mockito.mock;%0A%0Apublic class CronFieldExpressionTest %7B%0A    private TestCronFieldExpression testCronFieldExpression;%0A    private FieldConstraints mockFieldConstraints;%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A        mockFieldConstraints = mock(FieldConstraints.class);%0A        this.testCronFieldExpression = new TestCronFieldExpression(mockFieldConstraints);%0A    %7D%0A%0A    @Test(expected = NullPointerException.class)%0A    public void testConstructorNullConstraints() throws Exception %7B%0A        new TestCronFieldExpression(null);%0A    %7D%0A%0A    @Test%0A    public void testAnd() throws Exception %7B%0A        CronFieldExpression mockExpression = mock(CronFieldExpression.class);%0A        And and = testCronFieldExpression.and(mockExpression);%0A        assertTrue(and.getExpressions().contains(mockExpression));%0A        assertTrue(and.getExpressions().contains(testCronFieldExpression));%0A    %7D%0A%0A    @Test%0A    public void testGetConstraints() throws Exception %7B%0A        assertEquals(mockFieldConstraints, testCronFieldExpression.getConstraints());%0A    %7D%0A%0A    class TestCronFieldExpression extends CronFieldExpression %7B%0A%0A        public TestCronFieldExpression(FieldConstraints constraints) %7B%0A            super(constraints);%0A        %7D%0A    %7D%0A%7D

Add test for CronFieldExpression