Package javax.measure.spi
Class FormatServiceTest
Object
FormatServiceTest
Tests for
FormatService
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Tests FormatService#FormatType.
-
Constructor Details
-
FormatServiceTest
public FormatServiceTest()
-
-
Method Details
-
testGetUnitFormats
TestsServiceProvider.current()
andServiceProvider.setCurrent(ServiceProvider)
. The getter and setter are tested in a single method for avoiding issues with the order in which JUnit executes tests. -
testTypes
Tests FormatService#FormatType.
-