Skip to content

Instantly share code, notes, and snippets.

@moonpolysoft
Created July 29, 2009 04:36
Show Gist options
  • Save moonpolysoft/157872 to your computer and use it in GitHub Desktop.
Save moonpolysoft/157872 to your computer and use it in GitHub Desktop.
val bytes : Array[Byte] = value.toBytes
bytes must haveSize(9)
[java] java.lang.NoSuchMethodException: [B.size() (Class.java:1605)
[java] at java.lang.Class.getMethod(Class.java:1605)
[java] at org.specs.matcher.IterableMatchers$$anon$7.reflMethod$Method1(IterableMatchers.scala:147)
[java] at org.specs.matcher.IterableMatchers$$anon$7.apply(IterableMatchers.scala:147)
[java] at org.specs.specification.Expectable$class.executeMatch$1(Expectable.scala:60)
[java] at org.specs.specification.Expectable$class.applyMatcher(Expectable.scala:69)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment