import spock.lang.Specification

class ScramblerTest extends Specification {
	def "canary"() {
		expect:
		  true == true
	}
	
	def "scrambled word has same length"() {
		setup:
  		def scrambler = new Scrambler()		
		
		when:
	  	def scrambled = scrambler.scramble("finnish")
		
		then:
		  scrambled.length() == "finnish".length()
	}
}