or, write MyUrlClass
, not MyURLClass
General Rules:
- Each word is capitalized
- no spaces
- only alphanumeric characters
<!-- | |
Extracts a number from a string, ignoring invalid characters. If a string contains multiple numbers, the first | |
will be returned. If no number can be extracted, this can be detected like: test="not(normalize-space($result))" | |
@param {string} input a string to parse for a number | |
--> | |
<xsl:function name="fun:LenientParseDecimal"> | |
<xsl:param name="input"/> | |
<xsl:call-template name="lenientParseDecimalHelper"> | |
<xsl:with-param name="str" select="$input"/> | |
</xsl:call-template> |
import org.junit.jupiter.api.Assertions; | |
import org.junit.jupiter.api.Test; | |
import org.junit.jupiter.api.extension.ExtendWith; | |
import org.mockito.Mockito; | |
import org.mockito.junit.jupiter.MockitoExtension; | |
import static org.mockito.ArgumentMatchers.anyString; | |
import static org.mockito.ArgumentMatchers.eq; | |
import static org.mockito.Mockito.doReturn; | |
import static org.mockito.Mockito.when; |