Package com.jcabi.urn

Class URNMocker


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

      • URNMocker

        public URNMocker()
        Public ctor.
    • Method Detail

      • 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 com.jcabi.urn.URN mock()
        Mock it.
        Returns:
        Mocked URN