Code Duplication    Length = 6-8 lines in 2 locations

tests/unit/client/test-base.php 2 locations

@@ 188-193 (lines=6) @@
185
				}
186
187
				if ( ! $anonymous ) {
188
					if (
189
						'James DiGioia' !== $body['author']['name'] ||
190
						'[email protected]' !== $body['author']['email']
191
					) {
192
						return false;
193
					}
194
				} else {
195
					if (
196
						'Anonymous' !== $body['author']['name'] ||
@@ 194-201 (lines=8) @@
191
					) {
192
						return false;
193
					}
194
				} else {
195
					if (
196
						'Anonymous' !== $body['author']['name'] ||
197
						'[email protected]' !== $body['author']['email']
198
					) {
199
						return false;
200
					}
201
				}
202
203
				return true;
204
			},