title: Assert the String has certain length (Java)
body: <p>Is there any way to assert in a method that input String has certain length?</p>
  
  <p>I tried assert <code>stringName[4];</code> but seems like it doesn't work</p>