Last active
February 24, 2017 11:53
-
-
Save mkows/3aca7ed6fca9757a0662d8c000091451 to your computer and use it in GitHub Desktop.
IntelliJ Scala Flat Spec Template (with Matchers, Futures, Mockito)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if ((${PACKAGE_NAME} && ${PACKAGE_NAME} != ""))package ${PACKAGE_NAME} #end | |
import org.mockito.Matchers.{any, eq => eqq} | |
import org.mockito.Mockito.{verify, when} | |
import org.scalatest.concurrent.ScalaFutures | |
import org.scalatest.mock.MockitoSugar | |
import org.scalatest.{FlatSpec, Matchers} | |
#set($NAME_WITHOUT_SUFFIX4 = $NAME.length() - 4) | |
class ${NAME} extends FlatSpec with Matchers with ScalaFutures with MockitoSugar { | |
"${NAME.substring(0, $NAME_WITHOUT_SUFFIX4)}" should "_" in { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment