diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 446387c..256c0cb 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -8,6 +8,7 @@
tests/HmacSessionStrategyTest.php
tests/ModelTest.php
tests/SignatureTest.php
+ tests/VersionTest.php
tests/AwsAcmTest.php
diff --git a/src/Core/Version.php b/src/Core/Version.php
index 653c3ee..3c41dcc 100644
--- a/src/Core/Version.php
+++ b/src/Core/Version.php
@@ -1,14 +1,39 @@
assertIsString($version);
+ $this->assertNotSame('', $version);
+ }
+
+ public function testGetReturnsComposerInstalledVersion(): void
+ {
+ // Composer's runtime data is always present in a composer-installed
+ // tree (which the test suite is). Confirm we surface its pretty
+ // version, not the FALLBACK.
+ $expected = \Composer\InstalledVersions::getPrettyVersion('keyqcloud/kyte-php');
+ $this->assertSame($expected, \Kyte\Core\Version::get());
+ }
+
+ public function testGetDoesNotReturnHardcodedLegacyString(): void
+ {
+ // Guard against a regression where someone reintroduces the
+ // pre-v4.3.2 hardcoded "v4.1.1" string.
+ $this->assertNotSame('v4.1.1', \Kyte\Core\Version::get());
+ }
+}