Package javax.measure.spi
Class FormatServiceTest
Object
FormatServiceTest
Tests for
FormatService.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidTests 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.
-