Documentation

OverrideFirstEventTest extends TestCase
in package
Uses PHPUnitAssertions

Table of Contents

assertVObjectEqualsVObject()  : mixed
This method tests whether two vcards or icalendar objects are semantically identical.
testOverrideFirstEvent()  : mixed
testRemoveFirstEvent()  : mixed

Methods

assertVObjectEqualsVObject()

This method tests whether two vcards or icalendar objects are semantically identical.

public assertVObjectEqualsVObject(resource|string|Component $expected, resource|string|Component $actual[, string $message = '' ]) : mixed

It supports objects being supplied as strings, streams or Sabre\VObject\Component instances.

PRODID is removed from both objects as this is often changes and would just get in the way.

CALSCALE will automatically get removed if it's set to GREGORIAN.

Any property that has the value ANY will be treated as a wildcard.

Parameters
$expected : resource|string|Component
$actual : resource|string|Component
$message : string = ''
Return values
mixed

Search results