This repository was archived by the owner on Oct 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,4 +15,40 @@ function it_is_initializable()
1515 function it_has_default_host_value_as_localhost () {
1616 $ this ->getHost ()->shouldEqual ("localhost " );
1717 }
18+
19+ function it_has_default_port_value_as_4222 () {
20+ $ this ->getPort ()->shouldBe (4222 );
21+ }
22+
23+ function it_has_default_user_value_as_null () {
24+ $ this ->getUser ()->shouldBe (null );
25+ }
26+
27+ function it_has_default_pass_value_as_null () {
28+ $ this ->getPass ()->shouldBe (null );
29+ }
30+
31+ function it_has_default_lang_value_as_php () {
32+ $ this ->getLang ()->shouldEqual ("php " );
33+ }
34+
35+ function it_has_default_version_value_as_null () {
36+ $ this ->getVersion ()->shouldEqual ("0.0.5 " );
37+ }
38+
39+ function it_has_default_verbose_value_as_null () {
40+ $ this ->isVerbose ()->shouldBe (false );
41+ }
42+
43+ function it_has_default_pedantic_value_as_null () {
44+ $ this ->isPedantic ()->shouldBe (false );
45+ }
46+
47+ function it_has_default_reconnect_value_as_null () {
48+ $ this ->isReconnect ()->shouldBe (true );
49+ }
50+
51+ function it_returns_a_valid_default_address () {
52+ $ this ->getAddress ()->shouldEqual ("tcp://localhost:4222 " );
53+ }
1854}
You can’t perform that action at this time.
0 commit comments