Uses of Class
cloud.opencode.base.test.assertion.RecordAssert
Packages that use RecordAssert
-
Uses of RecordAssert in cloud.opencode.base.test
Methods in cloud.opencode.base.test that return RecordAssertModifier and TypeMethodDescriptionstatic <T extends Record>
RecordAssert<T> OpenTest.assertRecord(T record) Create a fluent assertion for a Record instance. -
Uses of RecordAssert in cloud.opencode.base.test.assertion
Methods in cloud.opencode.base.test.assertion that return RecordAssertModifier and TypeMethodDescriptionstatic <R extends Record>
RecordAssert<R> RecordAssert.assertThat(R actual) Creates assertion for a record instance.RecordAssert.componentIsInstanceOf(String componentName, Class<?> expectedType) Asserts that a named component is of the expected type.RecordAssert.componentIsNotNull(String componentName) Asserts that a named component is not null.RecordAssert.componentIsNull(String componentName) Asserts that a named component is null.RecordAssert.hasComponent(String componentName, Object expectedValue) Asserts that a named component has the expected value.RecordAssert.hasComponentCount(int expectedCount) Asserts that the record has the specified number of components.RecordAssert.hasComponentNamed(String componentName) Asserts that the record has a component with the given name.Asserts that the record equals the expected record.RecordAssert.isNotNull()Asserts that the record is not null.RecordAssert.isNull()Asserts that the record is null.