commonMain.dk.cachet.carp.common.infrastructure.test.StubSamplingConfiguration.kt Maven / Gradle / Ivy
Go to download
Helper classes and base types relied upon by all subsystems. This library does not contain any domain logic.
The newest version!
package dk.cachet.carp.common.infrastructure.test
import dk.cachet.carp.common.application.sampling.SamplingConfiguration
import dk.cachet.carp.common.application.sampling.SamplingConfigurationBuilder
import kotlinx.serialization.*
@Serializable
data class StubSamplingConfiguration( val configuration: String ) : SamplingConfiguration
class StubSamplingConfigurationBuilder( var configuration: String ) :
SamplingConfigurationBuilder
{
override fun build(): StubSamplingConfiguration = StubSamplingConfiguration( configuration )
}