Package com.jcabi.urn

Class URNMocker

java.lang.Object
com.jcabi.urn.URNMocker

public final class URNMocker extends Object
Mocker of URN.
Since:
0.6
Suppressed Checkstyle violations:
AbbreviationAsWordInNameCheck (500 lines)
  • Constructor Details

    • URNMocker

      public URNMocker()
  • Method Details

    • withNid

      public URNMocker withNid(String name)
      With this namespace.
      Parameters:
      name - The namespace
      Returns:
      This object
    • withNss

      public URNMocker withNss(String text)
      With this nss.
      Parameters:
      text - The nss
      Returns:
      This object
    • mock

      public URN mock()
      Mock it.
      Returns:
      Mocked URN