Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package com.projects.jezinka.conaobiad
import org.spockframework.util.Assert
import spock.lang.Specification
class UnitTests extends Specification {
def "GetSaturdayDate"() {
setup:
MealListHelper mealListHelper = new MealListHelper()
when:
Date resultDate = mealListHelper.getSaturdayDate()
then:
Assert.notNull(resultDate)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment